import request from '@/utils/request.js'


// 签到
export const SignIn = userId => {
    return request({
        url: '/member/user/signIn/' + userId,
        method: 'get',
    })
}


// 累计签到天数
export const SignInCount = userId => {
    return request({
        url: '/member/user/signInCount/' + userId,
        method: 'get',
    })
}


// 获取当月签到状态
export const GetSignInStatus = userId => {
    return request({
        url: '/member/user/getSignInStatus/' + userId,
        method: 'get',
    })
}


// 获取用户经验值
export const GetUserExp = userId => {
    return request({
        url: '/member/exp/getUserExp/' + userId,
        method: 'get',
    })
}


// 获取用户仙豆余额
export const GetBeanByUserId = userId => {
    return request({
        url: '/member/bean/getBeanByUserId/' + userId,
        method: 'get',
    })
}


// 获取用户登录信息
export const GetLoginRecordInfoByUserId = (params) => {
    return request({
        url: '/member/user/getLoginRecordInfo',
        method: 'get',
        params,
    })
}


// 获取用户仙豆账单
export const GetBeanBillByUserId = (params) => {
    return request({
        url: '/member/bean/getBeanBillByUserId',
        method: 'get',
        params,
    })
}





